import sys
import csv

VERSION = 1002


def do_process(input_, output_):
    with open(input_) as file:
        reader = csv.reader(file)
        with open(output_, 'w', encoding='utf-8') as output_file:
            for line in reader:
                for item in line:
                    print(item, file=output_file)


if __name__ == '__main__':
    if len(sys.argv) < 3:
        print('参数不够！')
    else:
        do_process(sys.argv[1], sys.argv[2])
